<include file="Public:header" />
<form class="form-inline definewidth m20" action="{:U('Home/FaultRecords/index',array('type'=>1))}" method="get">    
    设备名称：
    <input type="text" name="equ_name" id="equ_name"class="abc input-default" placeholder="" value="{$equ_name}"> &nbsp;&nbsp; 
    <button type="submit" class="btn btn-primary">查询</button>
</form>
<table class="table table-bordered table-hover definewidth m10">
    <thead>
    <tr>
        <th></th>
        <th>设备编号</th>
        <th>设备名称</th>
        <th>生产厂家</th>
        <th>添加时间</th>
        <th>操作人</th>
        <th>故障统计</th>
    </tr>
    </thead>
	     <foreach name="list" item="l_val" key="lk">
        <tr>
            <td>{$lk+1}</td>
            <td>{$l_val.number}</td>
            <td>{$l_val.name}</td>
            <td>{$l_val.source}</td>
            <td>{$l_val.reg_time|date='Y-m-d',###}</td>
            <td>{$l_val.uname|default=$l_val.nickname}</td>
            <td>
                <a href="{:U('Home/FaultRecords/index',array('type'=>1,'equ_id'=>$l_val['equipment_id']))}" title="故障统计" ><icon class="icon-eye-open" ></icon></a>
            </td>
        </tr>
    </foreach>
</table>
<include file="Public:footer" />

